package com.example.consumer.config;

import feign.Retryer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RetryerConfig {
    @Bean
    public Retryer retryer() {
        return new Retryer.Default(
                1000,
                9000,
                3
        );
    }
}
